all: publish consume
publish:publish.cc
	g++ -o $@ $^ -std=c++17 -lamqpcpp -lev -pthread -ldl -lfmt -lspdlog -lgflags
consume:consume.cc
	g++ -o $@ $^ -std=c++17 -lamqpcpp -lev -pthread -ldl -lfmt -lspdlog -lgflags
.PHONY:clean
clean:
	rm -f publish consume